package com.chenhao.springcloud.chenhaodesignservice.design.openclose;

/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/7 15:45
 */
public class Test {

    public static void main(String[] args) {
        ICourse java = new JavaDiscountCourse(96,"从零开始",348d);
        System.out.println("课程ID"+java.getId()+"课程名称"+java.getName()+"课程价格"+java.getPrice());
    }
}
